﻿namespace FireChat.Share.Logger.Printer;

/// <summary>
/// 日志内容打印器
/// </summary>
public interface ILogPrinter
{
    /// <summary>
    /// 日志记录时间
    /// </summary>
    DateTime LogTime { get; }

    /// <summary>
    /// 日志等级
    /// </summary>
    LogLevel Level { get; }

    /// <summary>
    /// 日志消息
    /// </summary>
    string Message { get; }

    /// <summary>
    /// 日志异常
    /// </summary>
    Exception? Exception { get; }


    /// <summary>
    /// 打印日志
    /// </summary>
    void Print();
}
